package com.one.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 角色菜单权限表
 * </p>
 *
 * @author zwj
 * @since 2021-09-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("role_menu")
@ApiModel(value="RoleMenuEntity对象", description="角色菜单权限表")
public class RoleMenuEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "菜单Id")
    @TableId("menuId")
    private String menuId;

    @ApiModelProperty(value = "角色Id")
    @TableField("roleId")
    private String roleId;


}
